\doxysection{interpolation\+\_\+functions.\+h}
\hypertarget{interpolation__functions_8h_source}{}\label{interpolation__functions_8h_source}\index{C:/Users/ASUS/Desktop/dm-\/ctrlH7-\/balance-\/9025test/Middlewares/ST/ARM/DSP/Include/dsp/interpolation\_functions.h@{C:/Users/ASUS/Desktop/dm-\/ctrlH7-\/balance-\/9025test/Middlewares/ST/ARM/DSP/Include/dsp/interpolation\_functions.h}}

\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{comment}{/******************************************************************************}}
\DoxyCodeLine{00002\ \textcolor{comment}{\ *\ @file\ \ \ \ \ interpolation\_functions.h}}
\DoxyCodeLine{00003\ \textcolor{comment}{\ *\ @brief\ \ \ \ Public\ header\ file\ for\ CMSIS\ DSP\ Library}}
\DoxyCodeLine{00004\ \textcolor{comment}{\ *\ @version\ \ V1.10.0}}
\DoxyCodeLine{00005\ \textcolor{comment}{\ *\ @date\ \ \ \ \ 08\ July\ 2021}}
\DoxyCodeLine{00006\ \textcolor{comment}{\ *\ Target\ Processor:\ Cortex-\/M\ and\ Cortex-\/A\ cores}}
\DoxyCodeLine{00007\ \textcolor{comment}{\ ******************************************************************************/}}
\DoxyCodeLine{00008\ \textcolor{comment}{/*}}
\DoxyCodeLine{00009\ \textcolor{comment}{\ *\ Copyright\ (c)\ 2010-\/2020\ Arm\ Limited\ or\ its\ affiliates.\ All\ rights\ reserved.}}
\DoxyCodeLine{00010\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00011\ \textcolor{comment}{\ *\ SPDX-\/License-\/Identifier:\ Apache-\/2.0}}
\DoxyCodeLine{00012\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00013\ \textcolor{comment}{\ *\ Licensed\ under\ the\ Apache\ License,\ Version\ 2.0\ (the\ License);\ you\ may}}
\DoxyCodeLine{00014\ \textcolor{comment}{\ *\ not\ use\ this\ file\ except\ in\ compliance\ with\ the\ License.}}
\DoxyCodeLine{00015\ \textcolor{comment}{\ *\ You\ may\ obtain\ a\ copy\ of\ the\ License\ at}}
\DoxyCodeLine{00016\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00017\ \textcolor{comment}{\ *\ www.apache.org/licenses/LICENSE-\/2.0}}
\DoxyCodeLine{00018\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00019\ \textcolor{comment}{\ *\ Unless\ required\ by\ applicable\ law\ or\ agreed\ to\ in\ writing,\ software}}
\DoxyCodeLine{00020\ \textcolor{comment}{\ *\ distributed\ under\ the\ License\ is\ distributed\ on\ an\ AS\ IS\ BASIS,\ WITHOUT}}
\DoxyCodeLine{00021\ \textcolor{comment}{\ *\ WARRANTIES\ OR\ CONDITIONS\ OF\ ANY\ KIND,\ either\ express\ or\ implied.}}
\DoxyCodeLine{00022\ \textcolor{comment}{\ *\ See\ the\ License\ for\ the\ specific\ language\ governing\ permissions\ and}}
\DoxyCodeLine{00023\ \textcolor{comment}{\ *\ limitations\ under\ the\ License.}}
\DoxyCodeLine{00024\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00025\ }
\DoxyCodeLine{00026\ \ }
\DoxyCodeLine{00027\ \textcolor{preprocessor}{\#ifndef\ \_INTERPOLATION\_FUNCTIONS\_H\_}}
\DoxyCodeLine{00028\ \textcolor{preprocessor}{\#define\ \_INTERPOLATION\_FUNCTIONS\_H\_}}
\DoxyCodeLine{00029\ }
\DoxyCodeLine{00030\ \textcolor{preprocessor}{\#include\ "{}arm\_math\_types.h"{}}}
\DoxyCodeLine{00031\ \textcolor{preprocessor}{\#include\ "{}arm\_math\_memory.h"{}}}
\DoxyCodeLine{00032\ }
\DoxyCodeLine{00033\ \textcolor{preprocessor}{\#include\ "{}dsp/none.h"{}}}
\DoxyCodeLine{00034\ \textcolor{preprocessor}{\#include\ "{}dsp/utils.h"{}}}
\DoxyCodeLine{00035\ }
\DoxyCodeLine{00036\ \textcolor{preprocessor}{\#ifdef\ \ \ \_\_cplusplus}}
\DoxyCodeLine{00037\ \textcolor{keyword}{extern}\ \textcolor{stringliteral}{"{}C"{}}}
\DoxyCodeLine{00038\ \{}
\DoxyCodeLine{00039\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00040\ }
\DoxyCodeLine{00041\ }
\DoxyCodeLine{00048\ }
\DoxyCodeLine{00049\ }
\DoxyCodeLine{00053\ \ \ \textcolor{keyword}{typedef}\ \textcolor{keyword}{struct}}
\DoxyCodeLine{00054\ \ \ \{}
\DoxyCodeLine{00055\ \ \ \ \ \ \ \ \ \ \ uint32\_t\ nValues;\ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00056\ \ \ \ \ \ \ \ \ \ \ float32\_t\ x1;\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00057\ \ \ \ \ \ \ \ \ \ \ float32\_t\ xSpacing;\ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00058\ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ float32\_t\ *\mbox{\hyperlink{structarm__linear__interp__instance__f32_ab373001f6afad0850359c344a4d7eee4}{pYData}};\ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00059\ \ \ \}\ \mbox{\hyperlink{structarm__linear__interp__instance__f32}{arm\_linear\_interp\_instance\_f32}};}
\DoxyCodeLine{00060\ }
\DoxyCodeLine{00064\ \ \ \textcolor{keyword}{typedef}\ \textcolor{keyword}{struct}}
\DoxyCodeLine{00065\ \ \ \{}
\DoxyCodeLine{00066\ \ \ \ \ \ \ \ \ \ \ uint16\_t\ numRows;\ \ \ }
\DoxyCodeLine{00067\ \ \ \ \ \ \ \ \ \ \ uint16\_t\ numCols;\ \ \ }
\DoxyCodeLine{00068\ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ float32\_t\ *\mbox{\hyperlink{structarm__bilinear__interp__instance__f32_afd1e764591c991c212d56c893efb5ea4}{pData}};\ \ \ }
\DoxyCodeLine{00069\ \ \ \}\ \mbox{\hyperlink{structarm__bilinear__interp__instance__f32}{arm\_bilinear\_interp\_instance\_f32}};}
\DoxyCodeLine{00070\ }
\DoxyCodeLine{00074\ \ \ \textcolor{keyword}{typedef}\ \textcolor{keyword}{struct}}
\DoxyCodeLine{00075\ \ \ \{}
\DoxyCodeLine{00076\ \ \ \ \ \ \ \ \ \ \ uint16\_t\ numRows;\ \ \ }
\DoxyCodeLine{00077\ \ \ \ \ \ \ \ \ \ \ uint16\_t\ numCols;\ \ \ }
\DoxyCodeLine{00078\ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ q31\_t\ *\mbox{\hyperlink{structarm__bilinear__interp__instance__q31_a843eae0c9db5f815e77e1aaf9afea358}{pData}};\ \ \ \ \ \ \ }
\DoxyCodeLine{00079\ \ \ \}\ \mbox{\hyperlink{structarm__bilinear__interp__instance__q31}{arm\_bilinear\_interp\_instance\_q31}};}
\DoxyCodeLine{00080\ }
\DoxyCodeLine{00084\ \ \ \textcolor{keyword}{typedef}\ \textcolor{keyword}{struct}}
\DoxyCodeLine{00085\ \ \ \{}
\DoxyCodeLine{00086\ \ \ \ \ \ \ \ \ \ \ uint16\_t\ numRows;\ \ \ }
\DoxyCodeLine{00087\ \ \ \ \ \ \ \ \ \ \ uint16\_t\ numCols;\ \ \ }
\DoxyCodeLine{00088\ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ q15\_t\ *\mbox{\hyperlink{structarm__bilinear__interp__instance__q15_a50d75b1316cee3e0dfad6dcc4c9a2954}{pData}};\ \ \ \ \ \ \ }
\DoxyCodeLine{00089\ \ \ \}\ \mbox{\hyperlink{structarm__bilinear__interp__instance__q15}{arm\_bilinear\_interp\_instance\_q15}};}
\DoxyCodeLine{00090\ }
\DoxyCodeLine{00094\ \ \ \textcolor{keyword}{typedef}\ \textcolor{keyword}{struct}}
\DoxyCodeLine{00095\ \ \ \{}
\DoxyCodeLine{00096\ \ \ \ \ \ \ \ \ \ \ uint16\_t\ numRows;\ \ \ }
\DoxyCodeLine{00097\ \ \ \ \ \ \ \ \ \ \ uint16\_t\ numCols;\ \ \ }
\DoxyCodeLine{00098\ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ q7\_t\ *\mbox{\hyperlink{structarm__bilinear__interp__instance__q7_af05194d691bbefb02c34bafb22ca9ef0}{pData}};\ \ \ \ \ \ \ \ }
\DoxyCodeLine{00099\ \ \ \}\ \mbox{\hyperlink{structarm__bilinear__interp__instance__q7}{arm\_bilinear\_interp\_instance\_q7}};}
\DoxyCodeLine{00100\ }
\DoxyCodeLine{00101\ }
\DoxyCodeLine{00105\ \ \ \textcolor{keyword}{typedef}\ \textcolor{keyword}{enum}}
\DoxyCodeLine{00106\ \ \ \{}
\DoxyCodeLine{00107\ \ \ \ \ ARM\_SPLINE\_NATURAL\ =\ 0,\ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00108\ \ \ \ \ ARM\_SPLINE\_PARABOLIC\_RUNOUT\ =\ 1\ \ \ }
\DoxyCodeLine{00109\ \ \ \}\ arm\_spline\_type;}
\DoxyCodeLine{00110\ }
\DoxyCodeLine{00114\ \ \ \textcolor{keyword}{typedef}\ \textcolor{keyword}{struct}}
\DoxyCodeLine{00115\ \ \ \{}
\DoxyCodeLine{00116\ \ \ \ \ arm\_spline\_type\ type;\ \ \ \ \ \ }
\DoxyCodeLine{00117\ \ \ \ \ \textcolor{keyword}{const}\ float32\_t\ *\ x;\ \ \ \ \ \ \ }
\DoxyCodeLine{00118\ \ \ \ \ \textcolor{keyword}{const}\ float32\_t\ *\ y;\ \ \ \ \ \ \ }
\DoxyCodeLine{00119\ \ \ \ \ uint32\_t\ n\_x;\ \ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00120\ \ \ \ \ float32\_t\ *\ coeffs;\ \ \ \ \ \ \ \ }
\DoxyCodeLine{00121\ \ \ \}\ \mbox{\hyperlink{structarm__spline__instance__f32}{arm\_spline\_instance\_f32}};}
\DoxyCodeLine{00122\ }
\DoxyCodeLine{00123\ }
\DoxyCodeLine{00131\ \ \ \textcolor{keywordtype}{void}\ arm\_spline\_f32(}
\DoxyCodeLine{00132\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{structarm__spline__instance__f32}{arm\_spline\_instance\_f32}}\ *\ S,\ }
\DoxyCodeLine{00133\ \ \ \textcolor{keyword}{const}\ float32\_t\ *\ xq,}
\DoxyCodeLine{00134\ \ \ \ \ \ \ \ \ float32\_t\ *\ pDst,}
\DoxyCodeLine{00135\ \ \ \ \ \ \ \ \ uint32\_t\ blockSize);}
\DoxyCodeLine{00136\ }
\DoxyCodeLine{00147\ \ \ \textcolor{keywordtype}{void}\ arm\_spline\_init\_f32(}
\DoxyCodeLine{00148\ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{structarm__spline__instance__f32}{arm\_spline\_instance\_f32}}\ *\ S,}
\DoxyCodeLine{00149\ \ \ \ \ \ \ \ \ \ \ arm\_spline\_type\ type,}
\DoxyCodeLine{00150\ \ \ \ \ \textcolor{keyword}{const}\ float32\_t\ *\ x,}
\DoxyCodeLine{00151\ \ \ \ \ \textcolor{keyword}{const}\ float32\_t\ *\ y,}
\DoxyCodeLine{00152\ \ \ \ \ \ \ \ \ \ \ uint32\_t\ n,\ }
\DoxyCodeLine{00153\ \ \ \ \ \ \ \ \ \ \ float32\_t\ *\ coeffs,}
\DoxyCodeLine{00154\ \ \ \ \ \ \ \ \ \ \ float32\_t\ *\ tempBuffer);}
\DoxyCodeLine{00155\ }
\DoxyCodeLine{00156\ }
\DoxyCodeLine{00164\ \ \ float32\_t\ \mbox{\hyperlink{group___linear_interpolate_ga5335f60532bab8cee1e7c22f76a41805}{arm\_linear\_interp\_f32}}(}
\DoxyCodeLine{00165\ \ \ \mbox{\hyperlink{structarm__linear__interp__instance__f32}{arm\_linear\_interp\_instance\_f32}}\ *\ S,}
\DoxyCodeLine{00166\ \ \ float32\_t\ x);}
\DoxyCodeLine{00167\ }
\DoxyCodeLine{00181\ \ \ q31\_t\ \mbox{\hyperlink{group___linear_interpolate_gaeaf31289367ac36c4727939e1ea73312}{arm\_linear\_interp\_q31}}(}
\DoxyCodeLine{00182\ \ \ \textcolor{keyword}{const}\ q31\_t\ *\ pYData,}
\DoxyCodeLine{00183\ \ \ q31\_t\ x,}
\DoxyCodeLine{00184\ \ \ uint32\_t\ nValues);}
\DoxyCodeLine{00185\ }
\DoxyCodeLine{00199\ \ \ q15\_t\ \mbox{\hyperlink{group___linear_interpolate_ga9a308a0de4d4e4fe4a262a99b17121cd}{arm\_linear\_interp\_q15}}(}
\DoxyCodeLine{00200\ \ \ \textcolor{keyword}{const}\ q15\_t\ *\ pYData,}
\DoxyCodeLine{00201\ \ \ q31\_t\ x,}
\DoxyCodeLine{00202\ \ \ uint32\_t\ nValues);}
\DoxyCodeLine{00203\ }
\DoxyCodeLine{00216\ q7\_t\ \mbox{\hyperlink{group___linear_interpolate_gafabd4124a8724055329b5c484419f936}{arm\_linear\_interp\_q7}}(}
\DoxyCodeLine{00217\ \ \ \textcolor{keyword}{const}\ q7\_t\ *\ pYData,}
\DoxyCodeLine{00218\ \ \ q31\_t\ x,}
\DoxyCodeLine{00219\ \ \ uint32\_t\ nValues);}
\DoxyCodeLine{00220\ }
\DoxyCodeLine{00228\ \ \ float32\_t\ \mbox{\hyperlink{group___bilinear_interpolate_ga887756dbbe013d0a15b987836a787677}{arm\_bilinear\_interp\_f32}}(}
\DoxyCodeLine{00229\ \ \ \textcolor{keyword}{const}\ \mbox{\hyperlink{structarm__bilinear__interp__instance__f32}{arm\_bilinear\_interp\_instance\_f32}}\ *\ S,}
\DoxyCodeLine{00230\ \ \ float32\_t\ X,}
\DoxyCodeLine{00231\ \ \ float32\_t\ Y);}
\DoxyCodeLine{00232\ }
\DoxyCodeLine{00240\ \ \ q31\_t\ \mbox{\hyperlink{group___bilinear_interpolate_gaefe4731017e8b9ac652e5fea57cb1fa5}{arm\_bilinear\_interp\_q31}}(}
\DoxyCodeLine{00241\ \ \ \mbox{\hyperlink{structarm__bilinear__interp__instance__q31}{arm\_bilinear\_interp\_instance\_q31}}\ *\ S,}
\DoxyCodeLine{00242\ \ \ q31\_t\ X,}
\DoxyCodeLine{00243\ \ \ q31\_t\ Y);}
\DoxyCodeLine{00244\ }
\DoxyCodeLine{00245\ }
\DoxyCodeLine{00253\ \ \ q15\_t\ \mbox{\hyperlink{group___bilinear_interpolate_ga56fe34273ffb422f428b1d9feeffe0ea}{arm\_bilinear\_interp\_q15}}(}
\DoxyCodeLine{00254\ \ \ \mbox{\hyperlink{structarm__bilinear__interp__instance__q15}{arm\_bilinear\_interp\_instance\_q15}}\ *\ S,}
\DoxyCodeLine{00255\ \ \ q31\_t\ X,}
\DoxyCodeLine{00256\ \ \ q31\_t\ Y);}
\DoxyCodeLine{00257\ }
\DoxyCodeLine{00265\ \ \ q7\_t\ \mbox{\hyperlink{group___bilinear_interpolate_ga1230bb062f6d8614db10b37ba7c9a161}{arm\_bilinear\_interp\_q7}}(}
\DoxyCodeLine{00266\ \ \ \mbox{\hyperlink{structarm__bilinear__interp__instance__q7}{arm\_bilinear\_interp\_instance\_q7}}\ *\ S,}
\DoxyCodeLine{00267\ \ \ q31\_t\ X,}
\DoxyCodeLine{00268\ \ \ q31\_t\ Y);}
\DoxyCodeLine{00269\ }
\DoxyCodeLine{00270\ }
\DoxyCodeLine{00271\ \textcolor{preprocessor}{\#ifdef\ \ \ \_\_cplusplus}}
\DoxyCodeLine{00272\ \}}
\DoxyCodeLine{00273\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00274\ }
\DoxyCodeLine{00275\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ ifndef\ \_INTERPOLATION\_FUNCTIONS\_H\_\ */}\textcolor{preprocessor}{}}

\end{DoxyCode}
